package com.xnyzc.lhy.common.penum;

import com.xnyzc.lhy.common.entity.PEnum;

/**
 * 商户状态
 *
 * @Author: scootXin
 * @Date: 2018/12/4 16:34
 */
public enum EMerchantStatus implements PEnum<String> {
    apply("申请"), needComplete("通过申请，未完善商品or商铺信息"),
    normal("正常"), stopped("已停止");

    private String desc;

    EMerchantStatus(String desc) {
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String toString() {
        return name();
    }

    @Override
    public String toChString() {
        return desc;
    }
}
